#ifndef _GOAL_H_
#define _GOAL_H_
#include "GameObject.h"

#define LADDERSPEED 3
class Goal : public GameObject
{
	CSprite *mark;
	CSprite *collum;
	CSprite *ladder;
	D3DXVECTOR2 collumPos;
	D3DXVECTOR2 ladderPos;

	bool isMaxH;
	int maxH;
	int minH;
public:
	Goal(D3DXVECTOR2);
	virtual ~Goal();
	virtual void Update(float);
	virtual void Draw();
	virtual CRect GetBound();
	virtual Box GetBox();
};
#endif // _GOAL_H_
